package com.gopay.common.cps.dao.bank;

import com.gopay.common.base.dao.BaseDAO;
import com.gopay.common.domain.bis.BisDirectAdPayConfig;

import java.io.Serializable;
import java.util.List;

/** 
 * @ClassName: BisDirectAdPayDAO
 * @author sh.jiao
 * @date 2017年10月16日 15:47:01
 */ 
public interface BisDirectAdPayDAO extends BaseDAO<BisDirectAdPayConfig, Serializable> {

    /**
     * 通过银行码，接口通道获取配置
     * @param bankCode
     * @param interfaceCode
     * @return
     */
    BisDirectAdPayConfig getBisDirectAdPayByBankCodeAndInterfaceCode(String bankCode, String interfaceCode);
    
    /** 
     * 通过银行码获取配置
     * @param bankCode
     * @return 
     */
    List<BisDirectAdPayConfig> getBisDirectAdPayConfigByBankCode(String bankCode);

}
